/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.LinkedList;

/**
 * <p>Project: javase - LinkedList1
 * <p>Powered by webrx On 2021-12-09 15:42:15
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class LinkedList1 {
    public static void main(String[] args) {
        //LinkedList list;
        var link = new LinkedList<Integer>();
        link.add(10);
        link.add(20);
        link.add(30);
        link.add(40);
        //link.remove();
        //link.removeFirst();
        //link.removeLast();
        System.out.println(link.size());
        System.out.println(link);
    }
}
